//
//  CityDetailController.m
//  YouMin_iOS
//
//  Created by lanou3g on 15/12/11.
//  Copyright © 2015年 wey. All rights reserved.
//

#import "CityDetailController.h"

@interface CityDetailController ()

@end

@implementation CityDetailController

- (void)viewWillAppear:(BOOL)animated {
    // 详情界面网址
    NSString *strUrl = @"http://web.breadtrip.com/hunter/product/product_id/?bts=app_tab";
    self.detailWeb = [strUrl stringByReplacingOccurrencesOfString:@"product_id" withString:[NSString stringWithFormat:@"%@",self.strID]];
    //加载WebView
    UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.frame];
    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.detailWeb]]];
    [self.view addSubview:webView];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
